package com.stu.day11.factory3.f1;

import com.stu.day11.factory3.*;

/**
 * 豪华车工厂
 * @author zy
 * @date 2025/2/3 21:50
 */
public class LuxuryCarFactory implements CarFactory {
    @Override
    public CarBody createCarBody() {
        return new LuxuryBody();
    }

    @Override
    public Seat createSeat() {
        return new LuxurySeat();
    }

    @Override
    public Wheel createWheel() {
        return new LuxuryWheel();
    }
}
